package com.bawei.mall.product.mapper;

import com.bawei.mall.product.domain.MallProductHotWord;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * @ClassName MallProductHostWordMapper
 * @Description 描述
 * @Author ZiZheng.Li
 * @Date 2024/6/26 9:22
 */
@Mapper
@Component
public interface MallProductHotWordMapper {
    List<MallProductHotWord> selectMallProductHotWordList();

    void insertMallProductHotWord(MallProductHotWord mallProductHotWord);

    MallProductHotWord selectMallProductHotWordByKeyWord(@Param("keyWord") String keyWord);

    void updateMallProductHotWord(MallProductHotWord mallProductHotWord);
}
